package com.ybkj.chat.module.dynamic.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ybkj.chat.R;
import com.ybkj.chat.bean.DynamicData;

import java.util.List;

/**
 * @Author wyq
 * @Description：空间动态adapter
 * @Date 2019/2/13
 */
public class AddGroupAdapter extends BaseQuickAdapter<DynamicData, BaseViewHolder> {

    public AddGroupAdapter(@Nullable List<DynamicData> data) {
        super(R.layout.recycle_item_addgroup, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, DynamicData item) {
        helper.setText(R.id.groupName, item.getTitle());
    }
}
